package com.ruoyi.experiment.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 样品回收对象 sample_recovery
 *
 * @author ruoyi
 * @date 2024-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SampleRecovery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回收id */
    private Long recoveryId;

    /** 样品id */
    @Excel(name = "样品id")
    private Long sampleId;

    private String sampleName;

    /** 样品剩余量 */
    @Excel(name = "样品剩余量")
    private String sampleQuantity;

    /** 存储位置 */
    @Excel(name = "存储位置")
    private String storageLocation;

    @Excel(name = "备注")
    private String remark;

    //搜索字段
    private Long projectId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("recoveryId", getRecoveryId())
                .append("sampleId", getSampleId())
                .append("sampleQuantity", getSampleQuantity())
                .append("storageLocation", getStorageLocation())
                .append("remark",getRemark())
                .toString();
    }
}

